﻿<UserControl x:Class="WPG.Themes.TypeEditors.CollectionEditorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:WPG="clr-namespace:WPG" mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" HorizontalContentAlignment="Stretch" Name="myUserCtl">
    <Grid HorizontalAlignment="Stretch">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="27"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <TextBox Grid.Column="0" HorizontalAlignment="Left" Text="{Binding NumerableType,ElementName=myUserCtl}" Name="txtTypeName" IsReadOnly="True"  Style="{DynamicResource {ComponentResourceKey TypeInTargetAssembly={x:Type WPG:PropertyGrid}, ResourceId=TextBoxStyle}}"></TextBox>
        <Button Grid.Column="1" HorizontalAlignment="Right" Height="18" Width="25" Margin="0,0,1,0" Click="Button_Click">...</Button>
    </Grid>
</UserControl>
